package com.black.play.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ylx
 */
public class SudokuSolutions
{
    List<SudokuBoard> solutions;

    public SudokuSolutions()
    {
        solutions = new ArrayList<>();
    }

    public List<SudokuBoard> getSolutions()
    {
        return solutions;
    }

    public void setSolutions(List<SudokuBoard> solutions)
    {
        this.solutions = solutions;
    }

    public int size()
    {
        return solutions.size();
    }

    public void addSolution(SudokuBoard solution)
    {
        solutions.add(solution);
    }
}
